function reURL(url)
{
    if($.browser.msie) {
        var linka = document.createElement('a');
        linka.href=url;
        document.body.appendChild(linka);
        linka.click();
    }else {
        window.location.href=url;
    }
}
$(function() {
    
    var tblink=$('#tblink').attr('tblink');
    //var malllink=$('#malllink').val();
    if(tblink!=undefined&&tblink.indexOf('xiazaiquanmall')!=-1)
    {
        //malllink=malllink.replace('caiji','view');
        tblink=tblink.replace('xiazaiquanmall','http://s.click.taobao.com/');
        tblink=tblink.replace('mm_12573392_0_0','mm_17538449_0_0');
        window.location.href=tblink;
    }
    else
    {
        //var iframe='<iframe frameborder="0" marginheight="0" marginwidth="0" border="0" id="alimamaifrm" name="alimamaifrm" scrolling="no" height="2550px" width="100%" src="http://www.taobao.com/go/chn/tbk_channel/channelcode.php?pid=mm_12573392_2132859_9058788&eventid=101329" ></iframe>';
        var iframe='<iframe frameborder="0" marginheight="0" marginwidth="0" border="0" id="alimamaifrm" name="alimamaifrm" scrolling="no" height="2550px" width="100%" src="http://www.taobao.com/go/chn/tbk_channel/channelcode.php?pid=mm_17538449_0_0&eventid=101329" ></iframe>';
        $('body').prepend(iframe);
//        $('#container').hide();
       // if($('.mall_index').length>0)
       // {
            //var link='http://www.taobao.com/go/chn/tbk_channel/channelcode.php?pid=mm_12573392_2132859_9058788&eventid=101329';
       //     var link='http://www.taobao.com/go/chn/tbk_channel/channelcode.php?pid=mm_17538449_0_0&eventid=101329';
      //      $('.mall_index').attr('href',link);
       // }
        
        //09.11.30 内容链接新窗口打开
        //$(".storycontent a").not($("a[href*='javascript'],a[href*=#]")).attr("target","_blank");
    }
            
    $("#topic_list tbody tr:even").addClass("even");		
});
